Part Number Hot Search : 
B1505 01524 TAN150 05S12 2SD20 C5750 2SK97 PJ324
Product Description
Full Text Search
 

To Download CVSD Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  application ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. continuously variable slope delta modulation: a tutorial 1. introduction virtually all means of wireless and wireline speech communication are, or are becoming, digital. digital coding of speech for transmission or storage clearly has advantages over traditional analog methods. in digital data communication or storage systems, information is transmitted or recorded as a series of binary digitsthe receiver or player must only distinguish between a one or zero to exactly recover the original information. in digital voice systems the information is the human voice. digital speech coding algorithms are judged by their ability to quantize (digitize) speech accurately for transmission and then perform the reverse at the decoder. in other words, the original analog speech signal must be accurately recovered at the receiver. sounds simple, however, without compression quantized speech can require significantly more bandwidth than analog speech. for wireline or wireless telecom applications, the speech extends from 300 hz to 3300 hz. if an analog signal in this band is quantized using a linear analog to digital converter (adc) sampling just above the nyquist rate, say 8 khz, with 256 quantization levels (8 bits) the resulting data rate is 64 kbits per second. without exotic modulation/coding, the bandwidth (bw) for the digitally encoded signal is nearly twenty times the original analog signal. such bw consumption is not practical, particularly for wireless applications. engineers working in the field of speech coding have been actively searching for methods to reduce the bandwidth consumed by quantized speech signals. early algorithms attempted to take advantage of the human ears adaptive dynamic range. the human ear has a built in ability to become more or less sensitive to audible signalsthe ear can hear sound pressure levels (spl) as low as 0 db spl (threshold of human hearing) to 120 db spl (on set of pain) yet at any one time the dynamic range of human hearing is generally considered to be about 40 db. in other words, we have a difficult time hearing someone whispering at a rock concert. some speech coding algorithms exploit this phenomena by using a greater number of progressively smaller quantization levels for low amplitude signals and fewer, more coarse quantization levels for large amplitude signals. this is known as non-uniform quantization. non-uniform quantization is used in the public switched telephone network (pstn) where it is called  -law pulse code modulation (pcm). a slightly more complex approach takes advantage of strong correlation between adjacent speech samples, quantizing the amplitude difference (delta) between two samples as opposed to the entire sample amplitude. this difference signal requires fewer quantization levels for the same signal quality and consequently, reduces the required bandwidth. algorithms employing this technique are classified under the broad category of differential quantization or differential pcm (dpcm). further bandwidth conservation is possible through more complex algorithms. for example, combining adaptive quantization with dpcm results in the commonly used coding algorithm, adaptive dpcm (adpcm). delta modulation (dm) and continuously variable slope delta modulation (CVSD) are differential waveform quantization techniques. both employ two level quantizers (one bit). CVSD is basically dm with an adaptive quantizer. applying adaptive techniques to a dm quantizer allows for continuous step size adjustment. by adjusting the quantization step size, the coder is abled to represent low amplitude signals with greater accuracy (where it is needed) without sacraficing performance on large amplitude signals. CVSD is used in tactical communications where communication quality 1 is required yet the option for security must be available. mil-std-188-113 (16 kb/s and 32 kb/s), and federal standard 1023 (12 kb/s CVSD) are examples of a tactical communication systems using CVSD. with the tremendous worldwide growth in wireless technology, secure communication is becoming important to everyone. in addition to point- to-point communication, CVSD is commonly used in digital voice recording/messaging and audio delay lines. this paper attempts to describe CVSD quantization, focusing on its application to coding of speech. before discussing the details of CVSD, the basics of uniform and non-uniform quantization (non-adaptive) will be reviewed. next, the subject of differential quantization will be explained, showing that dm and CVSD are equivalent to one bit dpcm and adpcm, respectively. finally, some application suggestions for mx?com CVSD codecs will be presented. 1 communication quality is a qualitative expression widely considered synonymous with acceptable speech communication. it is not intended to imply high-fidelity, only that intelligible conversation can take place.
CVSD: a tutorial 2 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. 2. waveform quantization [1, 3, 5, 9] waveform quantization is a process of assigning discrete levels to a sampled analog signal. in the context of this paper the signal of interest is speech, although the concepts are applicable to signals in different frequency bands. the term quantization implies a relationship between the amplitude of a discrete sample and its numeric value. this relationship may be linear, non-linear, or differential. 2.1 sampling [5, 9] before a signal can be quantized it must first be sampled. sampling is the act of instantaneously capturing the level of a continuous signal at some predetermined rate. this predetermined rate is called the sampling frequency. as the sampling rate increases, the sampled signal begins to approximate the original continuous signal. as the sampling frequency decreases, samples move further apart in time, eventually the original signal cannot be reconstructed from the sampled version. the limit on how far apart these samples can be, without losing information, is the basis for shannon's sampling theorem. shannon's sampling theorem [5] was originally stated as follows: "if a function f(t) contains no frequencies higher than f cycles per second it is completely determined by giving its ordinates at a series of points spaced ( 1/2f ) seconds apart." a mathematical version of this theorem can be obtained by convolving the fourier transform of the signal to be sampled with the fourier transform of an infinite sequence of impulse functions ffs s () [()*()]     1 2 (1) or, fsfd s () ()( )        1 2 (2) where, f s ()   sampled signal spectrum f ()   original signal spectrum s ()   spectrum for a sequence of impulses   2 f (radian frequency). the result of the convolution in equation (2) is the original signal spectrum repeated at multiples of the sampling frequency, see figure 1. notice that if the sampling frequency is less than twice the bandwidth of the original signal the replicas centered at multiples of the sampling frequency will overlap and distort the original. this undesirable phenomenon is aliasing . to avoid aliasing, fb s  2 .(3) where, f s = sampling frequency in hz b = bandwidth of original signal in hz.
CVSD: a tutorial 3 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. 0 0f s 2f s -2f s -f s f f (a) (b) figure 1: fourier transform of (a) continuous time signal and (b) sampled signal. shannon's sampling theorem is mathematically accurate. although, in most cases it is not practical to sample a signal at exactly twice it's highest frequency. band-limiting is necessary to avoid aliasing. for f s =2b the band-limiting filter must have a so called brick wall roll-off at frequency b . a filter that matches this requirement is physically unrealizable. several factors contribute to the actual sampling frequency used. generally there is a compromise between the complexity of the band-limiting filter versus the cost of the analog to digital converter (adc). as f s becomes closer to 2b , the band-limiting filter requires more stages to give the desired roll-off. as f s increases, the required conversion time necessitates a faster adc. cost for adcs is inversely proportional to conversion time, as conversion time decreases, cost rises. 2.2 uniform quantization [3, 4, 9] figure 2 illustrates the transfer characteristic of a seven level uniform quantizer. to represent the quantized output q(n) as a binary number would require 3 bits. once a signal has been sampled it is discrete in time. however, the amplitude remains continuous. the quantized version of a signal is obtained by applying the sampled signal to a binary encoder where the discrete voltage levels are assigned to the nearest binary numbers. the complete process, combining sampling and amplitude quantization, is known as pcm.
CVSD: a tutorial 4 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. -1 -2 -3 1234 -1 -2 -3 -4 1 2 3 q(n) s(t) figure 2: uniform quantizer transfer characteristic. the noise introduced by pcm is primarily due to the rounding to the nearest binary number. if a signal is quantized to eight levels (3 bits) using a quantizer transfer characteristic similar to the one shown in figure 2, the finest resolution is the full scale magnitude divided by eight. in general, a n 2   .(4) where, a = full scale amplitude n = number of bits per sample  = difference between quantization levels (i.e. finest resolution). the uncertainty error due to rounding is based on the assumption that there is a continuous range of values within  , all of which are equally likely to have been the actual value of the original signal (uniform distribution). the error signal  is the difference between the original signal amplitude and the quantized sample value. as a result, the mean square uncertainty error can be solved for by finding the expected value of error squared over the range of -  /2 to  /2 ed ()      22 1 2 2    .(5) where, e = expected value operator  = difference between actual and quantized signal levels. performing the integration in equation (5) yields an expression which is equivalent to quantization noise power n out 2 2 12   .(6).
CVSD: a tutorial 5 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. taking the square root of both sides gives the root mean square (rms) noise voltage n out   23 .(7) the maximum signal-to-noise ratio (snr) for a uniformly quantized signal can be calculated by finding the ratio of the full scale quantization level to the noise voltage in equation (7). the full scale quantization level is simply the total number of quantization levels multiplied by the minimum quantization increment  s out n max   () 2 2 .(8) where, n = number of bits in quantizer. the ratio of equations (7) and (8) yields the snr snr n  2 3 .(9) in db, snr n db  477 602 .. . (10) equation (10) is an objective measure of quality in systems employing uniform quantization. it should be noted: the snr calculated in equation (10) is a theoretical maximum. in practice other factors (e.g. power supply noise) tend to reduce the final snr. also, the human voice is considered to have about 40 db of dynamic range, however, during most conversations it is typically about 20 db down from maximum. in other words, we generally do not shout during normal conversation. consequently, the average signal to noise ratio for uniformly quantized speech is about 20 db less than what would be calculated using equation (10). another objective measure of quality which can be derived in a similar manner is dynamic range. dynamic range pertains to the resolution of a quantization scheme. it is the ratio of the full scale amplitude to the smallest quantized amplitude change, dr n n  
  1 2 2 2 1   . (11) in db, dr n db  602 1 .( ) . (12) 2.3 non-uniform quantization [1, 7, 9] to this point the discussion has been based strictly on uniform quantization (linear speech coding). that is, waveforms are quantized such that all signal levels have the same resolution. an alternative to linear quantization is to make  fine for low level signals and coarse for high level signals, introducing a non-uniform quantizer characteristic. this type of quantization can result in improved dynamic range for a given number of bits and effectively raise the snr for lower level signals. the drawback is lower maximum snrequations 9 and 10 are not valid for non-uniform quantization. figure 3 shows a transfer characteristic for a seven level non-uniform quantizer. notice, when compared to the uniform quantizer transfer characteristic shown in figure 2, there are three quantization levels for the input s(t) between zero and one, where there is only one with the uniform quantizer.
CVSD: a tutorial 6 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. -1 -2 -3 1234 -1 -2 -3 -4 1 2 3 q(n) s(t) figure 3: non-uniform quantizer transfer characteristic. a complete digital communication system, incorporating non-uniform speech coding, compresses the quantized signal at the transmitter then expands the signal back to linear form at the receiver. the compressed signal requires fewer bits and therefore consumes less bw. ideally, the expander transfer function is the exact inverse of the compressor and is able to reproduce the original uncoded analog signal. in literature pertaining to telecommunications, the words compressor and expander are generally combined in to a single word; compandor . companding is on of the most popular forms of non-uniform quantization. when compared to uniform quantization, it allows for bandwidth compression without degradation in dynamic range, at the expense of peak signal to noise ratio. for example, a signal uniformly quantized to 14 bits, using equations (10) and (12), would have a peak snr and dr of approximately 89 db and 78 db respectively. if the same signal is non- uniformly quantized (compressed) using only 8 bits (256 levels), the minimum quantization level can be set such that dr of 78 db can be retained, although the peak snr will be degraded. degradation in the peak snr is due to the course quantization levels used for the large amplitude signals (where fine quantization is not necessary). low amplitude signals are quantized at finer resolution (more steps, where it is necessary). consequently, the snr at low signal levels is improved when compared to uniform quantization with the same number of levels. essentially, companding strives to make snr constant over the dynamic range of the quantizer. 2.3.1 -law companding [1, 9] most forms of non-uniform quantization are derived from a logarithmic transfer function. that is, the output signal is proportional to the log of the input signal. in north america and japan, digital telecommunications networks employ -law companding as the standard for pcm encoding (  =255 for north america). the general form of the transfer characteristic is yx signx x () () ln( ) ln( )    1 1   . (13) where,   11 x x = input signal y(x) = compressed output signal sign(x) = polarity of input signal.
CVSD: a tutorial 7 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. 2.3.2 uniform versus non-uniform quantization [7] an accepted method of objectively measuring quality in signal processing systems is snr. in the context of digital coding this would more accurately be called: signal to quantization noise ratio (sqr). equation (10) was derived to calculate the snr for uniform quantization assuming maximum input signal. to find snr for input signal amplitudes less than maximum equation (10) must be rewritten snr n s s db i max   
4 77 6 02 20 . . log . (14) where, s i = input signal level s max = maximum signal level. when the quantization characteristic is not uniform (14) is no longer valid. to clarify the performance of companded quantization, the snr must be calculated for a full range of input signal levels. for -law companding the signal to noise ratio is given by the following equation [9], snr s s db n i i     () log () [ln( )] .                       10 32 11 1 732 1 2 2 22 . (15) it should be noted that as  0, equation (15) is equivalent to equation (14), thus = 0 implies uniform quantization. figure 4 compares snr versus relative input signal power for 256 level non-uniform quantization ( = 255) and 256 level uniform quantization. 0 10 20 30 40 50 60 -60 -50 -40 -30 -20 -10 0 snr (db) input (db) 8 bit linear pcm 8 bit mu-law pcm figure 4: snr versus input level for 8 bit  -law and 8 bit uniform quantization.
CVSD: a tutorial 8 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. 2.4 differential quantization [4, 8] differential quantization is a coding technique where the difference between the present sample and the predicted value for the next sample is quantized. this type of quantization is advantageous because the difference signal dynamic range (variance) is less than the unprocessed input signal. consequently, fewer quantization levels are required to retain the same signal-to-noise ratio (snr). alternatively, the number of quantization levels can remain the same allowing the difference signal to be encoded using all the available bandwidth resulting in greater resolution and improved signal quality. + q q -1 encoder decoder - x(n) d(n) x p (n) c(n) p(z) x q (n) d q (n) d qd (n) x qd (n) x pd (n) local decoder + q -1 + p(z) figure 5: differential quantization block diagram. figure 5 is a block diagram displaying a differential quantization system. all signals are represented in discrete time notation implying that x(n) is the discrete time version of x(t) . notice the decoder is in the feedback path of the encoder. thus, the decoder is performing the inverse of the encoder. the block labeled q converts the difference signal d(n) in to a binary representation suitable for transmission and the block labeled q -1 does the inverse. in reality, the process of converting d(n) to c(n) and back to d qd (n) is a significant factor in the non-ideal behavior of differential quantization. nevertheless, fundamental analysis of the system is simplified by assuming blocks q and q -1 cancel. employing this assumption, the transfer function of the encoder in z -domain terms hz cz xz qz pz enc () () () ()[ ()]   1 . (16) and the decoder transfer function is hz xz cz qz pz dec qd () () () ()[ ()]   1 1 . (17) if d qd (z)  d(z) , then x qd (z)  x(z) and the entire system transfer function can be written as, hz h zh z enc dec () () ()  1 . (18) although equation (18) is based on several assumptions, it shows a differential quantization system patterned after the topology displayed in figure 5 can be made to produce an output signal which approximates the original input signal. the quality of the approximation is what distinguishes various differential quantization schemes. generally, high quality approximation does not come without a price.
CVSD: a tutorial 9 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. a crucial element in differential quantization is the predictor p(z) . the output x p (n) of p(z) is a weighted sum of past input samples. the general form is equivalent to a finite impulse response (fir) filter xn axnk p k q k p () ( )    1 . (19) where, p = order of predictor a k = weighting factor (coefficient) x p (n) = output of predictor x q (n) = d q (n) + x p (n) (input to predictor). applying the z-transform to equation (19) yields the transfer function for the predictor pz xz xz az p q k k k p () () ()     0 . (20) equations (19) and (20) show that the predictor output is a linear combination of past inputs giving rise to the term linear prediction. non-linear predictors (non-linear combination of past input samples) have been studied, however, due to complexity and stability issues, their popularity is limited. the coefficients a k are calculated such that p(z) will provide a reasonably accurate model for the behavior of human speech. in 1966 a paper was published by mcdonald [6] suggesting coefficients, based on normalized autocorrelation of human speech samples, for predictors of order one to ten. later, in 1972, noll [4] published similar data. these two papers are generally referenced in determination of predictor coefficients. assuming that p(z) does provide a reasonably accurate model for human speech, x q (n)  x(n) and d(n)  0 . in other words, a good predictor should minimize the difference signal d(n) . this is the basis for differential quantization. in most dm algorithms the predictor order p is set to one. the potential for instability in differential quantizers exists in the encoder. as mentioned early, equation (20) is the transfer function of an fir filter. one of the significant characteristics of fir filters is, by definition, they are stable (the transfer function has only zeros). however, when an fir is placed in a feedback path, as is the case with the encoder, the zeros become polesif one of these poles finds its way outside the unit circle the differential quantizer will be unstable. 3. delta modulation [1, 4, 6, 8, 10] dm is a differential quantization scheme that uses two level quantization (i.e. one bit quantizer). by using a single bit to represent each sample, the sample rate and the bit rate are equivalent. consequently, sample rate is directly related to signal quality (snr). also, bw of the input signal and band-limiting of the output are significant factors in determining signal quality. the first dm algorithm was conceived in 1946. during the last 50 years, two algorithms; linear dm (ldm) and CVSD, received a significant amount of attention from those interested in efficient methods to digitize speech. ldm is the most fundamental, least complex form of dm. hence, this tutorial will attempt to provide an understanding of ldm as a foundation for understanding more complex dm algorithms. the CVSD algorithm, an accepted standard in the tactical community and finding a growing number of applications in point-to-point wireless applications, will also be covered.
CVSD: a tutorial 10 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. 3.1 linear dm [1, 4, 6, 8] the predictor p(z) in ldm is first order and the quantizer q is two level. figure 6 is a flow diagram describing the ldm encoder and decoder algorithms. + q q -1 encoder decoder - x(n) d(n) x p (n) c(n) az -1 x q (n) d q (n) d qd (n) x qd (n) x pd (n) integrator + q -1 + az -1 lpf x qdf (n) integrator figure 6: ldm block diagram. the predictor is shown as a single tap fir filter with transfer function p(z) = az -1 . in the encoder, the transfer function between d q (n) and x p (n) can be expressed in the z -domain terms as xz dz az az p q () ()     1 1 1 (21) in the decoder, the transfer function between d qd (n) and x qd (n) is xz dz az qd qd () ()    1 1 1 (22) equations (21) and (22) represent discrete time integrators (if a = 1 ). if a < 1 they become damped or lossy integrators. mcdonald [6] and noll [4] both suggest a = 1 for optimum prediction gain. a pure integrator ( a = 1 ) will cause bit errors to propagate longer than if a < 1 . in practice, a value of a< 1 is preferred. the quantizer q in figure 6 functions like a comparator. when the input d(n) exceeds zero it outputs a logic one, when the input is less then zero the output is a logic zero. hence, the output of q is a single bit indicating the sign of the magnitude of d(n) . the inverse quantizer q -1 converts logic levels to delta d q (n) as shown in the table below. sign of d(n) c(n) d q (n) -0   +1  table 1: sign of d(n) with corresponding logic levels and deltas. the value of plays an important role in the performance of ldm. if is relatively small, tracking of slowly changing, low amplitude signals is quite good at the expense of poor tracking for fast, abruptly changing signals. when dm is not able to keep up with the input signal a phenomena called slope overload is exhibited, as shown in figure 7.
CVSD: a tutorial 11 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. x q (n) x(t) slope overload slope overload figure 7: slope overload in ldm. increasing the value of can lessen the effects of slope overload but creates a new problem; granular noise . with to large, low amplitude signals will not be quantized at fine enough levels and they appear as idle channel noise , see figure 8. the idle channel pattern is simply an alternating one-zero sequence indicating the input signal amplitude is not changing. since an alternating one-zero bit pattern has a mean value of zero, the signal out of the decoder will integrate to zero. x q (n) x(t) granular noise figure 8: granular noise in ldm.
CVSD: a tutorial 12 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. 3.2 CVSD [2, 4, 10] issues with granularity and slope overload can be drastically reduced by making dynamic adjustments to the quantizer step size . adaptive dm (adm) algorithms attempt to do this by making small for slowly changing signals and large for rapidly changing signals. the most publicized adm algorithm is known as CVSD. it was first proposed by greefkes and riemens in 1970 [2]. in their CVSD algorithm, adaptive changes in are based on the past three or four sample outputs (i.e. c(n) , c(n-1) , c(n-2) , c(n-3) ). figure 9 and figure 10 show flow diagrams of the algorithms for the encoder and decoder respectively. notice only the last three samples of c(n) are used here. + q - x(n) d(n) c(n) d q (n) z -1 z -1 x d max + x d q -1 x p (n) d min i 2 i 1 l 1 figure 9: CVSD encoder block diagram. c(n) d qd (n) x qd (n) lpf x qdf (n) z -1 z -1 x d max + x d q -1 d min i 2 i 1 l 1 figure 10: CVSD decoder block diagram. the block labeled q -1 , previously shown in figure 6, has been replaced by two cascaded one sample delays ( z -1 ) and logic to determine when three consecutive ones or zeros have occurred. the minimum and maximum step height is set by min . and max , respectively. when strings of three consecutive zeros or ones have not occurred for a period of time long enough for the output of the integrator i 2 to decay to near zero, the algorithm is equivalent to ldm (section 3.1). the time constants for the integrator i 2 and integrator i 1 are typically 4 ms and 1 ms respectively. in CVSD literature integrator i 1 is referred to as the principle integrator and integrator i 2 as the syllabic integrator . the so called syllabic integrator derives its name from the length of syllable. actually a syllable is about 100 ms in duration, however, pitch changes are on the order of 10 ms. consequently, 4 ms seems to work best for the CVSD syllabic ( pitch ) time constant. the block labeled l performs simple level conversion (i.e. c(n) =1 , l outputs 1 ; c(n) = 0 , l outputs -1 ). this CVSD algorithm is also known as digitally controlled dm [10].
CVSD: a tutorial 13 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. figure 11 displays the output of the integrator i 1 ( x p (n) in the encoder and x pd (n) in the decoder). when compared to figure 7 and figure 8 slope overload and granular noise are reduced. x p (n) x(t) figure 11: CVSD quantization noise. 3.3 performance measurement of dm [1,4] the maximum snr for dm speech coders is [1] snr f ff db s bw  
 10 14 0 3 2 log . . (23) where, f s = data rate (sample rate) f bw = signal bw (cutoff frequency of lpf) f = signal frequency. most literature on dm coding agrees on the terms involving f s , f bw , and f in equation (23) but most do not agree on -14 db. this term varies from -17.0 db to -11.7 db depending on a variety of different input signals and assumptions about environment. nevertheless, equation (23) is considered a maximum because it assumes no slope overload and minimum granular noise, i.e. optimum step size. the adaptive behavior of CVSD results in a snr versus input level characteristic similar to non-uniform quantization (mentioned in section 2.3). this non-linear snr characteristic is due to companding , where the quantization level (slope) is adjusted to a larger or smaller value according to past pitch changes of the input signal. the number of past samples (bits) used to make a prediction is normally three or four. four bit companding has proven to be most effective for data rates greater than 32 kb/s, three bit companding seems to work better for data rates less than 32 kb/s. figure 12 shows a typical snr versus input level characteristic for 32 kb/s CVSD (four bit companding algorithm, input signal = 820 hz sinewave). equation (23) predicts a maximum snr of 27.6 db which is nearly met in figure 12 for and input signal level of -15 dbm0 (0 dbm0 = 489 mvrms). above and below the -15 dbm0 input level granular and slope overload noise start cause distortion. finally, it should be noted that CVSD does not perform well with continuous tone or data input signals, particularly at data rates below 32 kb/s.
CVSD: a tutorial 14 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. 0 5 10 15 20 25 30 -40 -35 -30 -25 -20 -15 -10 -5 0 5 10 snr (db) input (dbm0) figure 12: measured snr versus input level for 32 kb/s CVSD (input = 820 hz sinewave). snr is the most used method to objectively quantify performance of speech coding algorithms. however, it does not always correspond with perceived quality, particularly for differential and adaptive algorithms using actual voice as the input. in addition, it is difficult to make reliable snr measurements in the presence of random bit errors. in an effort to quantify the perceived quality of a speech coding algorithm, mean opinion score (mos) testing was developed [4]. table 2 summarizes the five point scale used to judge quality and impairment. number quality impairment 5 excellent imperceptible 4 good perceptible but not annoying 3 fair slightly annoying 2 poor annoying 1 bad very annoying table 2: mean opinion score testing guidelines. an mos rating of 4 to 4.5 is considered toll quality (equivalent to commercial telephony). where as communication quality mos ratings are 3 to 4 (barely perceptible distortion, but no degradation in intelligibility). figure 13 compares mos ratings for  -law pcm (the standard for toll quality ), CVSD and adpcm. notice CVSD performs as well or better than both  -law pcm and adpcm in the presence of bit errors. specifically, CVSD retains quite good mos ratings at bit error rates exceeding 1%, and at 10% has an mos rating of 3 ( communication quality ). it is this robustness to bit errors (channel noise) that makes CVSD an ideal solution for many wireless speech communication applications.
CVSD: a tutorial 15 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. 0 1 2 3 4 5 1e-05 0.0001 0.001 0.01 0.1 mean opinion score bit error rate 48 kb/s CVSD 64 kb/s u-law pcm 32 kb/s adpcm figure 13: mos versus bit error rate for adpcm,  -law pcm, and CVSD from [4]. 4. summary CVSD has several attributes that make it well suited for digital coding of speech. one bit words eliminate the need for complex framing schemes. robust performance in the presence of bit errors make error detection and correction hardware unecessary. other speech coding schemes may require a digital signal processing engine and external analog to digital/digital to analog converters to convert the analog signal in to a form that can be processed digitallythe entire CVSD codec algorithm, including input and output filters, can be integrated on a single silicon substrate. despite this simplicity, CVSD has enough flexibility to allow digital encryption for secure applications. finally, CVSD can operate over a wide range of data ratesit has been successfully used from 9.6 kb/s to 64kb/s. at 9.6kb/s audio quality is not particularly good, however, it is intelligible. at data rates of 24 kb/s to 48 kb/s it is judged as quite acceptable. and above 48 kb/s it is comparable to toll quality . all of these attributes make CVSD attractive to wireless telecommunication systems (e.g. digital cordless telephones, digital land mobile radio). the defence industry has been using CVSD for decades in wireline and wireless systems as specified in mil-std-188-113. more recently, federal standard 1023 proposed CVSD for 25 khz channel radios operating above 30 mhz. figure 14 is a block diagram showing a CVSD codec in a digital mobile radio system. CVSD codec mic spkr digital rf receiver digital rf transmitter enc clk dec clk enc data dec data enc in enc out CVSD codec mic spkr digital rf receiver enc clk dec clk enc data dec data enc in enc out digital rf transmitter figure 14: digital wireless system incorporating CVSD codec. this tutorial has attempted to shed some light on the fundamental aspects of CVSD. it has shown that CVSD is a differential adaptive quantization algorithm with one bit coding and first order prediction (one bit adpcm). in addition, objective and subjective methods of measuring signal quality showing that CVSD performs quite well in the presence of bit errors (noisy channel) have been presented.
CVSD: a tutorial 16 application note ?1998 mx-com inc. www. mxcom.com tel: 800 638-5577 336 744-5050 fax: 336 744-5054 doc. # 20830070.002 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective co mpanies. 5. references [1]j. c. bellamy, digital telephony, wiley and sons, new york, 1982. [2] j. a. greefkes and k. riemens, code modulation with digitally controlled companding for speech transmission, philips tech. rev., pp. 335-353, 1970. [3] a. gersho, "principals of quantization," ieee transactions on circuits and systems, pp. 427-436, july 1978. [4] n. s. jayant and p. noll, digital coding of waveforms: principles and applications to speech and video, prentice-hall, englewood cliffs, n. j., 1984. [5] a. b. jerri, "the shannon sampling theoremits various extensions and applications: a tutorial review,"proceedings of the ieee, pp. 1565-1596, november 1977. [6] r. a. mcdonald, "signal-to-noise and idle channel performance of differential pulse code modulation systems-particular applications to voice signals," bell system technical journal, pp. 1123-1155, sept. 1966. [7] p. noll, "a comparative study of various quantization schemes for speech encoding," bell system technical journal, pp. 1597-1614, november 1975. [8] l. r. rabiner and r. w. schafer, digital processing of speech signals, prentice-hall, englewood cliffs, n. j., 1978. [9] m. schwartz, information, transmission, modulation, and noise, mcgraw hill, new york, 1980. [10] r. steele, delta modulation systems, pentech press, london, england, 1975.


▲Up To Search▲   

 
Price & Availability of CVSD

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X